/**
 * merge level=30
 */

Ext.define('Jfok.report.chart.ChartWindow', {
			extend : 'Ext.window.Window',
			alias : 'widget.reportchartwindow',
			requires : ['Jfok.report.chart.ChartPanel'],
			height : 600,
			width : 800,
			layout : 'fit',
			icon : 'images/button/chart_bar.png',
			maximizable : true,

			mainReport : undefined,
			initComponent : function() {
				this.title = this.mainReport.down('reportselectcombo').getRawValue() + "--图表分析";

				this.items = [{
							methodTitle : this.title,
							border : false,
							frame : false,
							xtype : 'reportchartpanel',
							grid : this.mainReport.down('resultlistgrid'),
							mainReport : this.mainReport,
							reportId : this.mainReport.down('reportselectcombo').getValue()
						}];
				this.callParent(arguments);
			}

		})